From 96a94fc21d0baf6972bb05038a2fd03dced8147d Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 18 Dec 2016 20:06:33 +0100 Subject: [PATCH] frame: Remove the border node It does weird clipping that (a) nobody likes (b) is hard to support in the new rendering world. So we take the easy way out. The actual frame is now drawn by the frame node around the label. --- gtk/gtkframe.c | 190 ++---------------- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- gtk/theme/HighContrast/_common.scss | 2 +- .../HighContrast/gtk-contained-inverse.css | 6 +- gtk/theme/HighContrast/gtk-contained.css | 6 +- 7 files changed, 35 insertions(+), 183 deletions(-) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 76d2078a58..54578cfeeb 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -73,14 +73,12 @@ * # CSS nodes * * |[ - * frame - * ├── border + * frame[.flat] * ├──